<select name="zone[media_type]" id="media_type">
    <foreach name="media_type" var="item" key="key">
        <if $item.ad_id  == $zone.media_type>
            <option selected="selected" value="[$item.mt_id]">[$item.mt_name]</option>
            <else>
            <option value="[$item.mt_id]">[$item.mt_name]</option>
        </if>
    </foreach>
</select>
<input type="hidden" name="banners" value=""/>
<div id="scroll" name="banner_widget" style="display:none">
	<span><input disabled=true class="input" name="" mark="scroll" value=""><button for="single" class="select_banner">选择广告</button></span>
	
</div>
<div id="single" name="banner_widget" style="display:none">
	<input disabled=true name="" mark="single" value=""><button for="single" class="select_banner">选择广告</button>
</div>


<script>
	$(function(){
		$("#media_type").change(function(){
			var val = $("#media_type").val();
			
		});
		
	});
</script>
